Skip to content

Fix URL in FutureWarning for .loc[list-of-labels] with missing labels #19145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 9, 2018

Conversation

jschendel
Copy link
Member

@TomAugspurger
Copy link
Contributor

Do you know if sphinx let's you have multiple labels for the same header? It'd be nice to add a

.. deprecate_loc_reindex_listlike

in the same spot, so that both URLs point to the same spot.

@TomAugspurger TomAugspurger added this to the 0.23.0 milestone Jan 9, 2018
@jschendel
Copy link
Member Author

jschendel commented Jan 9, 2018

Do you know if sphinx let's you have multiple labels for the same header?

Yeah, was wondering that myself since it seems like it'd be a nicer solution to just make the URL work than to change it. Had to try a few variations, but eventually got the second label working, at least for my local build of the docs.

No real point in changing to URL in this case; I'll make it https but leave everything else as is. Assuming this is fine, will check the docs generated by travis after this gets merged to make sure it's working there too.

@jreback jreback merged commit 23fb339 into pandas-dev:master Jan 9, 2018
@jreback
Copy link
Contributor

jreback commented Jan 9, 2018

thanks!

@jschendel jschendel deleted the loc-listlike-url branch January 9, 2018 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FutureWarning for .loc[list-of-labels] with missing labels provides wrong URL
3 participants